package com.example.service;

import com.example.pojo.TCustomer;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.vo.ResultVo;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wsl
 * @since 2022-04-24
 */
public interface ITCustomerService extends IService<TCustomer> {
    /**
     * 查询所有
     */
    List<TCustomer> selectAll();
    /**
     * 分页
     * 模糊查询
     */
    PageInfo<TCustomer> electByPager(Integer pageNo, Integer pageSize, String name, String khno, String level,String area,String xyd,String fr,Integer state,Integer isValid);
    /**
     * 客户信息添加
     */
    ResultVo addCustomer(TCustomer tCustomer);
    /**
     * 客户信息修改
     */
    ResultVo updateCustomer(TCustomer tCustomer);
}
